﻿
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
{
}
<blockquote class="layui-elem-quote1 quoteBox layui-form">
    <div class="layui-form-item layui-card">
        <div class="layui-card-header tool-btn">
            <a class="layui-btn  layui-btn-lightgreen" id="funBtnEdit"><i class="layui-icon layui-icon-edit"></i>修改</a>
            <a class="layui-btn  layui-btn-primary" id="funBtnExport"><i class="layui-icon layui-icon-export"></i>导出</a>
            <a class="layui-btn  layui-btn-danger" id="funBtnRemove"><i class="layui-icon layui-icon-delete"></i>删除</a>
        </div>
        <div class="layui-card-body">
            <label class="layui-form-label">模糊查询：</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" name="KeyWord" id="KeyWord" />
            </div>
            <label class="layui-form-label">工程项目：</label>
            <div class="layui-input-inline">
                <select lay-verify="required" name="ProjectNo" id="ProjectNo">
                </select>
            </div>
            <label class="layui-form-label">在职状态：</label>
            <div class="layui-input-inline">
                <select name="ZTBS" id="ZTBS">
                    <option value="">所有</option>
                    <option value="1">在职</option>
                    <option value="2">离职</option>
                </select>
            </div>
            <label class="layui-form-label">员工类别：</label>
            <div class="layui-input-inline">
                <select name="MID" id="MID">
                    <option value="">所有</option>
                    <option value="1">日薪</option>
                    <option value="2">月薪</option>
                </select>
            </div>
            <div class="layui-inline">
                <a class="layui-btn" id="funBtnSearch"><i class="layui-icon layui-icon-list"></i>搜索</a>
            </div>
        </div>
    </div>
</blockquote>
<div class="layui-form">
    <table class="layui-hide" id="InfoList" lay-filter="InfoList"></table>
</div>

@section Foot
{
    <script type="text/html" id="gridTool">
        <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="funBtnEdit"><i class="layui-icon layui-icon-edit"></i>修改</a>
        <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="funBtnRemove"><i class="layui-icon layui-icon-delete"></i>删除</a>
    </script>

    <script type="text/html" id="switchZTBSTpl">
        <input type="checkbox" name="ZTBS" value="{{d.ID}}" lay-skin="switch" lay-text="在职|离职" lay-filter="funBtnZTBS" {{ d.ZTBS == true ? 'checked' : '' }}>
    </script>

    <script src="~/Areas/Staff/js/employee.list.js"></script>
}


